/* ----------- 最近联系人相关（左侧导航栏） ----------- */
.chat-item {
    height: 10%;
    width: 100%;
    background-color: white;
    padding: 5px 0;
    display: flex;
}

.chat-item:hover {
    background: #f0f0f0;
}

.chat-preview {
    height: 100%; 
    padding: 15px 0; 
    max-width: 65%;
}

.chat-preview-display-name {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    justify-content: left;
}

.chat-preview-last-message {
    display: flex;
    justify-content: left;
    font-size: 0.8rem;
    color: #0f0f0f;
}

.avatar {
    height: auto;
    width: 40%;
    max-width: 100%;
    max-height: 100%;
    border: 2px solid #f1f1f1;
    border-radius: 100px;
    padding: 5px;
    vertical-align: middle;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 5px;
}

.friend-avatar {
    width: 60px;
    height: 60px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 100px;
    border: 2px solid #f1f1f1;
    padding: 3px;
}

.avatar-div {
    width: 35%; 
    height: 100%;
    min-width: 35%;
    margin-right: 10px;
}
/* --------------------- */

.contact-list {
    height: 100%; 
    background: #f0f0f0;
    border-radius: 5px;
}

.tmp {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}